package com.bzkj.inventory.domain.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @ClassName InventoryQueryRequest
 * @Description TODO
 * @Author C1309
 * @Date 2025/5/12 9:14
 */
public class InventoryQueryRequest {

    private  String appcode;

    @JSONField(name = "smartba_search")
    @JsonProperty("smartba_search")
    private boolean smartbaSearch;

    private List<CustconditionRequest> custcondition;

    public InventoryQueryRequest(List<CustconditionRequest> custcondition) {
        this.appcode = "400812400";
        this.smartbaSearch = true;
        this.custcondition = custcondition;
    }

    public String getAppcode() {
        return appcode;
    }

    public void setAppcode(String appcode) {
        this.appcode = appcode;
    }

    public boolean getSmartbaSearch() {
        return smartbaSearch;
    }

    public void setSmartbaSearch(boolean smartbaSearch) {
        this.smartbaSearch = smartbaSearch;
    }

    public List<CustconditionRequest> getCustcondition() {
        return custcondition;
    }

    public void setCustcondition(List<CustconditionRequest> custcondition) {
        this.custcondition = custcondition;
    }
}
